package orgd

import (
	corgd "gogs.xiaoyuanjijiehao.com/antlinker/antcms/core/orgd"
	"gogs.xiaoyuanjijiehao.com/antlinker/antcms/ddd/repo/mgorepo"
)

// CreDomainOption 创建域配置
func CreDomainOption() corgd.DomainOption {
	mgorepo.RegColForIndex(&collOrg{})
	return corgd.DomainOption{
		OrgRepo: &orgRepo{},
	}
}
